import Vue from 'vue'
import App from './App'
import store from '@/store';

import './initial.js'

let vuexStore = require("@/store/$u.mixin.js");
Vue.mixin(vuexStore);


import http from 'libs/index.js'
Vue.use(http)

import home from './pages/home/home.vue'
Vue.component('home',home)
import scriptList from './pageList/script/script.vue'
Vue.component('scriptList',scriptList)
import business from './pageList/business/business.vue'
Vue.component('business',business)
import me from './pages/me/me.vue'
Vue.component('me',me)
import cuCustom from './colorui/components/cu-custom.vue'
Vue.component('cu-custom',cuCustom)


Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
	store,
    ...App
})
import httpInterceptor from '@/common/http/http.interceptor.js' //拦截器
Vue.use(httpInterceptor, app);

import httpApi from '@/common/http/http.api.js'
Vue.use(httpApi, app)
import httpAdminApi from '@/common/http/http.adminApi.js'
Vue.use(httpAdminApi, app)

app.$mount()

 export default app



